Skip to content

chore(commitlint): declare the aidd-ui scope, long and short#423

Merged
blafourcade merged 1 commit into
nextfrom
chore/commitlint-aidd-ui
Jul 10, 2026
Merged

chore(commitlint): declare the aidd-ui scope, long and short#423
blafourcade merged 1 commit into
nextfrom
chore/commitlint-aidd-ui

Conversation

@blafourcade

Copy link
Copy Markdown
Contributor

🎯 What & why

plugins/aidd-ui ships, but neither aidd-ui nor ui was in the scope-enum of commitlint.config.cjs. Every other plugin declares both a long and a short form. A commit touching the plugin warned on a scope the repo itself defines.

Surfaced while retitling issue #415 (feat(aidd-ui): the plugin reads as one recipe).

🛠️ How it works

Adds "aidd-ui" next to the six other long forms, and "ui" next to the six other short forms. The rule level stays 1 (warning), so an unknown scope still reports without blocking.

🧪 How to verify

# every plugin directory has both scope forms declared
node -e '
const scopes = require("./commitlint.config.cjs").rules["scope-enum"][2];
for (const p of require("fs").readdirSync("plugins")) {
  const short = p.replace(/^aidd-/, "");
  console.log(scopes.includes(p) && scopes.includes(short) ? `ok ${p}` : `MISSING ${p}`);
}'

echo "feat(aidd-ui): probe" | npx commitlint   # silent
echo "feat(ui): probe"      | npx commitlint   # silent
echo "feat(aidd-nope): x"   | npx commitlint   # 1 warning, exit 0

✅ I certify

  • I DO CERTIFY I READ EACH LINE OF THE PULL REQUEST BECAUSE I AM A SOFTWARE ENGINEER, NOT A AI PUPPY.

`plugins/aidd-ui` ships, but neither `aidd-ui` nor `ui` was in `scope-enum`,
while the six other plugins each declare both forms. A commit touching the
plugin warned on a scope the repo itself defines.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@blafourcade blafourcade merged commit d0a17fc into next Jul 10, 2026
7 checks passed
@blafourcade blafourcade deleted the chore/commitlint-aidd-ui branch July 10, 2026 10:16
blafourcade added a commit that referenced this pull request Jul 10, 2026
`plugins/aidd-ui` ships, but neither `aidd-ui` nor `ui` was in `scope-enum`,
while the six other plugins each declare both forms. A commit touching the
plugin warned on a scope the repo itself defines.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@aidd-bot aidd-bot Bot mentioned this pull request Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant